<?php
class BaseNews {
   public function getTitle() {
      return $this->title;
   }

   public function getContent() {
      return $this->content;
   }

   public function toString() {
      return "News: {title=" . $this->title .
         ", content=" . $this->content . "}";
   }

   protected $title;
   protected $content;
}
?>